#pragma once
#include "Character.h"
#include <Xors3d.h>

class Player: public Character
{
	Handle mCamera;
	Character *mTarget;

	struct CameraOffset
	{
		Vec3D mPosition;
		Vec3D mRotation;
	};

	CameraOffset DefaultCameraOffset();

public:
	Player(Handle camera);
	Player(Handle camera, float speed, Color clr);

	void UpdateCamera();

	void Target(Character* target);

	void Update();

};